Namespace.Use("Loader", function(ns) {
    var callbacks = [];

    var RegisterCallback = Polymorphic.Create(
        [Function],
        function(callback) {
            callbacks.push(callback);
        }
    );
    var ExecuteCallback = function() {
        callbacks.forEach(function(callback) {
            callback();
        });
    };

    //  Export public APIs.
    Namespace.Export(ns, "RegisterCallback", RegisterCallback);
    Namespace.Export(ns, "ExecuteCallback", ExecuteCallback);
});